package com.yingluo.abacus.boot.core.data.hibernate;

import com.yingluo.abacus.boot.core.data.pooling.druid.DefaultRepositoryConfig;
import com.yingluo.abacus.boot.core.data.pooling.druid.DruidConfiguration;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;


@Configuration
//如果使用默认的库，按以下配置

@ComponentScan(basePackages = {"com.yingluo.abacus.boot.core.data.hibernate"})

@Import({DruidConfiguration.class, DefaultRepositoryConfig.class})
public class HibernateConfig {

}
